package com.wnxy.admin.service;

import com.wnxy.admin.dto.OrderDto;
import com.wnxy.admin.entity.Order;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 订单表 服务类
 * </p>
 *
 * @author All
 * @since 2023-11-29
 */
public interface IOrderService extends IService<Order> {
    Order queryOrderDetail(Long orderId);

    void saveOrder(Order order);

    void saveOrderDto(OrderDto orderDto);

    void cardPay(Long cardId);
    void editOrder(OrderDto orderDto);

    public void drop(Long orderId, String code);
}
